package iorder

import ie.com.stamply.security.User
/**
 *
 * @author Mikael
 */
class Vendor {

    String name
    String phone
    String website
    String email
    String photoUrl
    String details 
    String facebookUrl
    Address address
    Date created = new Date()    
    Date lastUpdate
    boolean active
    User user
    
    static constraints = {
    }
    
    static hasMany = [products: Product]
    
    
}
